package cn.pfz.Service;

import cn.pfz.domain.Consumption;
import cn.pfz.query.ConsumptionQueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

/**
 * @Author: 普发忠
 * @Date: 2021/09/14/14:44
 */
public interface IConsumptionService {
    
    int deleteByPrimaryKey(Long id);
    
    int insert(Consumption record);
    
    Consumption selectByPrimaryKey(Long id);
    
    List<Consumption> selectAll();
    
    int updateByPrimaryKey(Consumption record);
    
    PageInfo<Consumption> list(ConsumptionQueryObject qo);
    
    Consumption selectByCno(String cno);
}
